package com.molichuxing.services.infrastructure.bean;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.molichuxing.framework.bean.RootBean;

public class OrderSubscribeSettlementBean extends RootBean {
	/**
	 * id
	 */
	private Integer id;

	/**
	 * 订单号 order_code
	 */
	private Long orderCode;

	/**
	 * 超出里程数 beyond_mileage
	 */
	private Integer beyondMileage;

	/**
	 * 里程单价 beyond_mileage_unit_price
	 */
	private BigDecimal beyondMileageUnitPrice;

	/**
	 * 结算超里程费用 beyond_mileage_fee
	 */
	private BigDecimal beyondMileageFee;

	/**
	 * 超期天数 beyond_day
	 */
	private Integer beyondDay;

	/**
	 * 天数单价 beyond_day_unit_price
	 */
	private BigDecimal beyondDayUnitPrice;

	/**
	 * 结算超期费用 beyond_day_fee
	 */
	private BigDecimal beyondDayFee;

	/**
	 * 结算质损费用 damage_fee
	 */
	private BigDecimal damageFee;

	/**
	 * 结算总费用 total_fee
	 */
	private BigDecimal totalFee;

	/**
	 * 状态（0：待支付，1：已支付） status
	 */
	private Integer status;

	/**
	 * 支付方式( 11：智能终端-微信， 12：智能终端-支付宝， 13：智能终端-pos机，21：微信-公众号，22：微信-H5，
	 * 23：微信-APP，34：微信-扫码，25：微信-小程序，31：支付宝-APP，32：支付宝-H5，41:
	 * 线下支付，51：银联-APP，51：银联-H5) pay_way
	 */
	private Integer payWay;

	/**
	 * 支付成功时间（缴费时间） pay_time
	 */
	private LocalDateTime payTime;

	/**
	 * 创建时间 gmt_create
	 */
	private LocalDateTime gmtCreate;

	/**
	 * 更新时间 gmt_modified
	 */
	private LocalDateTime gmtModified;

	/**
	 * orders_order_subscribe_settlement
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return id
	 */
	@Override
	public Integer getId() {
		return id;
	}

	/**
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param id
	 */
	@Override
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 订单号
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return order_code 订单号
	 */
	public Long getOrderCode() {
		return orderCode;
	}

	/**
	 * 订单号
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param orderCode
	 *            订单号
	 */
	public void setOrderCode(Long orderCode) {
		this.orderCode = orderCode;
	}

	/**
	 * 超出里程数
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return beyond_mileage 超出里程数
	 */
	public Integer getBeyondMileage() {
		return beyondMileage;
	}

	/**
	 * 超出里程数
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param beyondMileage
	 *            超出里程数
	 */
	public void setBeyondMileage(Integer beyondMileage) {
		this.beyondMileage = beyondMileage;
	}

	/**
	 * 里程单价
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return beyond_mileage_unit_price 里程单价
	 */
	public BigDecimal getBeyondMileageUnitPrice() {
		return beyondMileageUnitPrice;
	}

	/**
	 * 里程单价
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param beyondMileageUnitPrice
	 *            里程单价
	 */
	public void setBeyondMileageUnitPrice(BigDecimal beyondMileageUnitPrice) {
		this.beyondMileageUnitPrice = beyondMileageUnitPrice;
	}

	/**
	 * 结算超里程费用
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return beyond_mileage_fee 结算超里程费用
	 */
	public BigDecimal getBeyondMileageFee() {
		return beyondMileageFee;
	}

	/**
	 * 结算超里程费用
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param beyondMileageFee
	 *            结算超里程费用
	 */
	public void setBeyondMileageFee(BigDecimal beyondMileageFee) {
		this.beyondMileageFee = beyondMileageFee;
	}

	/**
	 * 超期天数
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return beyond_day 超期天数
	 */
	public Integer getBeyondDay() {
		return beyondDay;
	}

	/**
	 * 超期天数
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param beyondDay
	 *            超期天数
	 */
	public void setBeyondDay(Integer beyondDay) {
		this.beyondDay = beyondDay;
	}

	/**
	 * 天数单价
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return beyond_day_unit_price 天数单价
	 */
	public BigDecimal getBeyondDayUnitPrice() {
		return beyondDayUnitPrice;
	}

	/**
	 * 天数单价
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param beyondDayUnitPrice
	 *            天数单价
	 */
	public void setBeyondDayUnitPrice(BigDecimal beyondDayUnitPrice) {
		this.beyondDayUnitPrice = beyondDayUnitPrice;
	}

	/**
	 * 结算超期费用
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return beyond_day_fee 结算超期费用
	 */
	public BigDecimal getBeyondDayFee() {
		return beyondDayFee;
	}

	/**
	 * 结算超期费用
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param beyondDayFee
	 *            结算超期费用
	 */
	public void setBeyondDayFee(BigDecimal beyondDayFee) {
		this.beyondDayFee = beyondDayFee;
	}

	/**
	 * 结算质损费用
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return damage_fee 结算质损费用
	 */
	public BigDecimal getDamageFee() {
		return damageFee;
	}

	/**
	 * 结算质损费用
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param damageFee
	 *            结算质损费用
	 */
	public void setDamageFee(BigDecimal damageFee) {
		this.damageFee = damageFee;
	}

	/**
	 * 结算总费用
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return total_fee 结算总费用
	 */
	public BigDecimal getTotalFee() {
		return totalFee;
	}

	/**
	 * 结算总费用
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param totalFee
	 *            结算总费用
	 */
	public void setTotalFee(BigDecimal totalFee) {
		this.totalFee = totalFee;
	}

	/**
	 * 状态（0：待支付，1：已支付）
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return status 状态（0：待支付，1：已支付）
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 状态（0：待支付，1：已支付）
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param status
	 *            状态（0：待支付，1：已支付）
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * 支付方式( 11：智能终端-微信， 12：智能终端-支付宝， 13：智能终端-pos机，21：微信-公众号，22：微信-H5，
	 * 23：微信-APP，34：微信-扫码，25：微信-小程序，31：支付宝-APP，32：支付宝-H5，41:
	 * 线下支付，51：银联-APP，51：银联-H5)
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return pay_way 支付方式( 11：智能终端-微信， 12：智能终端-支付宝，
	 *         13：智能终端-pos机，21：微信-公众号，22：微信-H5，
	 *         23：微信-APP，34：微信-扫码，25：微信-小程序，31：支付宝-APP，32：支付宝-H5，41:
	 *         线下支付，51：银联-APP，51：银联-H5)
	 */
	public Integer getPayWay() {
		return payWay;
	}

	/**
	 * 支付方式( 11：智能终端-微信， 12：智能终端-支付宝， 13：智能终端-pos机，21：微信-公众号，22：微信-H5，
	 * 23：微信-APP，34：微信-扫码，25：微信-小程序，31：支付宝-APP，32：支付宝-H5，41:
	 * 线下支付，51：银联-APP，51：银联-H5)
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param payWay
	 *            支付方式( 11：智能终端-微信， 12：智能终端-支付宝，
	 *            13：智能终端-pos机，21：微信-公众号，22：微信-H5，
	 *            23：微信-APP，34：微信-扫码，25：微信-小程序，31：支付宝-APP，32：支付宝-H5，41:
	 *            线下支付，51：银联-APP，51：银联-H5)
	 */
	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}

	/**
	 * 支付成功时间（缴费时间）
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return pay_time 支付成功时间（缴费时间）
	 */
	public LocalDateTime getPayTime() {
		return payTime;
	}

	/**
	 * 支付成功时间（缴费时间）
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param payTime
	 *            支付成功时间（缴费时间）
	 */
	public void setPayTime(LocalDateTime payTime) {
		this.payTime = payTime;
	}

	/**
	 * 创建时间
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return gmt_create 创建时间
	 */
	@Override
	public LocalDateTime getGmtCreate() {
		return gmtCreate;
	}

	/**
	 * 创建时间
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param gmtCreate
	 *            创建时间
	 */
	@Override
	public void setGmtCreate(LocalDateTime gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	/**
	 * 更新时间
	 * 
	 * @date 2019-09-24 09:40:53
	 * @return gmt_modified 更新时间
	 */
	@Override
	public LocalDateTime getGmtModified() {
		return gmtModified;
	}

	/**
	 * 更新时间
	 * 
	 * @date 2019-09-24 09:40:53
	 * @param gmtModified
	 *            更新时间
	 */
	@Override
	public void setGmtModified(LocalDateTime gmtModified) {
		this.gmtModified = gmtModified;
	}

	/**
	 *
	 * @mbg.generated
	 */
	@Override
	public boolean equals(Object that) {
		if (this == that) {
			return true;
		}
		if (that == null) {
			return false;
		}
		if (getClass() != that.getClass()) {
			return false;
		}
		OrderSubscribeSettlementBean other = (OrderSubscribeSettlementBean) that;
		return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
				&& (this.getOrderCode() == null ? other.getOrderCode() == null
						: this.getOrderCode().equals(other.getOrderCode()))
				&& (this.getBeyondMileage() == null ? other.getBeyondMileage() == null
						: this.getBeyondMileage().equals(other.getBeyondMileage()))
				&& (this.getBeyondMileageUnitPrice() == null ? other.getBeyondMileageUnitPrice() == null
						: this.getBeyondMileageUnitPrice().equals(other.getBeyondMileageUnitPrice()))
				&& (this.getBeyondMileageFee() == null ? other.getBeyondMileageFee() == null
						: this.getBeyondMileageFee().equals(other.getBeyondMileageFee()))
				&& (this.getBeyondDay() == null ? other.getBeyondDay() == null
						: this.getBeyondDay().equals(other.getBeyondDay()))
				&& (this.getBeyondDayUnitPrice() == null ? other.getBeyondDayUnitPrice() == null
						: this.getBeyondDayUnitPrice().equals(other.getBeyondDayUnitPrice()))
				&& (this.getBeyondDayFee() == null ? other.getBeyondDayFee() == null
						: this.getBeyondDayFee().equals(other.getBeyondDayFee()))
				&& (this.getDamageFee() == null ? other.getDamageFee() == null
						: this.getDamageFee().equals(other.getDamageFee()))
				&& (this.getTotalFee() == null ? other.getTotalFee() == null
						: this.getTotalFee().equals(other.getTotalFee()))
				&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
				&& (this.getPayWay() == null ? other.getPayWay() == null : this.getPayWay().equals(other.getPayWay()))
				&& (this.getPayTime() == null ? other.getPayTime() == null
						: this.getPayTime().equals(other.getPayTime()))
				&& (this.getGmtCreate() == null ? other.getGmtCreate() == null
						: this.getGmtCreate().equals(other.getGmtCreate()))
				&& (this.getGmtModified() == null ? other.getGmtModified() == null
						: this.getGmtModified().equals(other.getGmtModified()));
	}

	/**
	 *
	 * @mbg.generated
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
		result = prime * result + ((getOrderCode() == null) ? 0 : getOrderCode().hashCode());
		result = prime * result + ((getBeyondMileage() == null) ? 0 : getBeyondMileage().hashCode());
		result = prime * result + ((getBeyondMileageUnitPrice() == null) ? 0 : getBeyondMileageUnitPrice().hashCode());
		result = prime * result + ((getBeyondMileageFee() == null) ? 0 : getBeyondMileageFee().hashCode());
		result = prime * result + ((getBeyondDay() == null) ? 0 : getBeyondDay().hashCode());
		result = prime * result + ((getBeyondDayUnitPrice() == null) ? 0 : getBeyondDayUnitPrice().hashCode());
		result = prime * result + ((getBeyondDayFee() == null) ? 0 : getBeyondDayFee().hashCode());
		result = prime * result + ((getDamageFee() == null) ? 0 : getDamageFee().hashCode());
		result = prime * result + ((getTotalFee() == null) ? 0 : getTotalFee().hashCode());
		result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
		result = prime * result + ((getPayWay() == null) ? 0 : getPayWay().hashCode());
		result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode());
		result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
		result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
		return result;
	}

	/**
	 *
	 * @mbg.generated
	 */
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", orderCode=").append(orderCode);
		sb.append(", beyondMileage=").append(beyondMileage);
		sb.append(", beyondMileageUnitPrice=").append(beyondMileageUnitPrice);
		sb.append(", beyondMileageFee=").append(beyondMileageFee);
		sb.append(", beyondDay=").append(beyondDay);
		sb.append(", beyondDayUnitPrice=").append(beyondDayUnitPrice);
		sb.append(", beyondDayFee=").append(beyondDayFee);
		sb.append(", damageFee=").append(damageFee);
		sb.append(", totalFee=").append(totalFee);
		sb.append(", status=").append(status);
		sb.append(", payWay=").append(payWay);
		sb.append(", payTime=").append(payTime);
		sb.append(", gmtCreate=").append(gmtCreate);
		sb.append(", gmtModified=").append(gmtModified);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}
}